package com.wpq.game_company.mapper;


import com.wpq.game_company.domain.Game;
import com.wpq.game_company.domain.Page;

import java.util.List;

public interface GameMapper {

    //增加游戏
    Integer insert(Game game);

    //查询游戏
    List<Game> selectAll();

    //删除游戏
    Integer delete(int id);

    //改变
    Integer updata(Game game);

    Game findgameByid(int id);

    List<Game> searchAcc(String type);


}
